<?php

class SistemasController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
    }

    public function newAction()
    {
        $form = new Zend_Form();
        $es = new Zend_Filter_Input();
        $txt = new Zend_Form_Element_Textarea('xx');
        $txtx = new Zend_Form_Element_Textarea('xxx');
        
        $form->addElement($txt);$form->addElement($txtx);
        $form->addElement(new Zend_Form_Element_Submit('submit'));
        $this->view->form = $form;
        
        if ($this->getRequest ()->isPost ()) {
            $formData = $this->getRequest ()->getPost ();
            if ($form->isValid ( $formData )) {
            	echo $form->getValue('xxx');
            	exit;
            }
        }
    }


}



